package com.situ.day8homework4;

public class Xueshengganbu extends Xuesheng {
	 String zhiwu;
	 
	public Xueshengganbu(String zhiwu) {
		super();
		this.zhiwu = zhiwu;
	}

	public Xueshengganbu() {
		super();
	}

	public String getZhiwu() {
		return zhiwu;
	}

	public void setZhiwu(String zhiwu) {
		this.zhiwu = zhiwu;
	}
	public void kaihui(){
		System.out.println("Xueshengganbu.kaihui()");
	}

	@Override
	public String toString() {
		return "xueshengGanbu [name=" + name + ", xingbie=" + xingbie + ", age=" + age + 
				", guoji=" + guoji + ", xuexiao=" + xuexiao + ", xuehao=" + xuehao + ", zhiwu=" + zhiwu + "]" ;             
	}
	
	
}
